#ifndef ORDER_H
#define ORDER_H

#include <string>
#include <vector>
#include "OrderDetail.h"
#include "Payment.h"

class Order {
private:
    std::string createDate;
    std::string status;
    std::vector<OrderDetail*> orderDetails;
    Payment* payment;

public:
    Order();
    ~Order();
    std::string getCreateDate();
    void setCreateDate(std::string p_createDate);
    std::string getStatus();
    void setStatus(std::string p_status);
    void addOrderDetail(OrderDetail* p_OrderDetail);
    std::vector<OrderDetail*> getOrderDetails();
    void setPayment(Payment* p_Payment);
    Payment* getPayment();
};

#endif
